import datetime

now = datetime.datetime.now()
print(now.timestamp())
print(now.strftime("%Y-%m-%d %H:%M:%S"))


def get_date(day_delta):
    base_date = datetime.datetime(2021, 1, 3)
    target_date = base_date + datetime.timedelta(days=day_delta)
    return target_date.strftime("%Y-%m-%d")


print(get_date(-1))
print(get_date(1))
